package com.zzl.finance.data.dto.feign;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 审核记录
 *
 * @author gull
 * @date 2022-09-14 09:31:58
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class ApproveLogEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApidocModelProperty(description = "主键")
    private String id;
    @ApidocModelProperty(description = "业务id")
    private String businessId;
    @ApidocModelProperty(description = "审批类型，1 企业审核，2 电子签章审核，3 开单审核，4 转单审核，5 融单审核，6 发票审核")
    private Integer approveType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "修改时间", validate = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @ApidocModelProperty(description = "创建人id")
    private Integer creatorId;
    @ApidocModelProperty(description = "创建人名称")
    private String creatorName;
    @ApidocModelProperty(description = "1 表示删除，0 表示未删除")
    @TableField(value = "is_deleted",fill = FieldFill.INSERT)
    @TableLogic(value = "0", delval = "1")
    private Integer isDeleted;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "创建时间，即注册时间", validate = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @ApidocModelProperty(description = "修改人id")
    private Integer updaterId;
    @ApidocModelProperty(description = "企业id")
    private String enterpriseId;
    @ApidocModelProperty(description = "备注")
    private String remark;
    @ApidocModelProperty(description = "审核结果")
    private String approveResult;
}
